/* 轮播图 */
.slider {
    position: relative;
    margin: 20px 0;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.bd ul {
    list-style: none;
    display: flex;
    height: 100%;
}

.bd li {
    flex: 1;
    height: 100%;
}

.bd img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 轮播图指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-indicator.active {
    background-color: #fff;
}

/* 轮播图控制按钮 */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.slider-control {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-control::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}

.slider-control.prev::before {
    transform: rotate(-135deg);
}

.slider-control.next::before {
    transform: rotate(45deg);
}